const http = require('http');

const server = http.createServer((req,res)=>{
    if(req.url == "/api/list"){
        res.end("hello wrold")
    }
    
})

server.listen(8000);